<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.zy.commom.utils.DateUtil" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<script type="text/javascript">
    var dateTime ="<%=DateUtil.getNow(DateUtil.DEFAULT_DATETIME_FORMAT)%>";
</script>
<html>
<body>
<div>
    <div id="result">
        <p>
            ${dateTime}
            ${result}
        </p>
    </div>
    <div>
        <a href="../district/import">插入省市数据</a>
        <br>
        <a href="../isp/import">插入运营商数据</a>
        <br>
        <a href="../ispMask/import">插入子网掩码数据</a>
        <br>
        <a href="../ip/import">写入IP数据</a>
        <br>
        <a href="../ip/importTimes">写入IP出现次数</a>
        <br>
        <a href="../ip/analysis">开始分析</a>
        <br>
        <a href="../ip/getResult">查看结果</a>
    </div>
    <div>
        <form method="post" action="/ip/queryByIp" >
            <label for="ip">输入要查询的IP</label>
            <input id="ip" type="text" name="ip" value="${ip}"/>
            <button id="submit" type="submit"  value="查询" class="window-button"/>
        </form>
    </div>
</div>
</body>
</html>
